<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>{:get_opinion('title')}</title>
    <meta name="description" content="{:get_opinion('description')}">
    <meta name="keywords" content="{:get_opinion('keywords')}"/>
    <meta name="author" content="greenstudio"/>

    <meta name="viewport" content="width=device-width">

    <include file="Public:head"/>
    {:hook('pageHeader', "")}

</head>

<body>
{:hook('userHeader', "")}
{:W('Widget/menuHead')}

<php>
    //获取某一分类下的文章
    $CatsLogic=new Common\Logic\CatsLogic();
    $id_1_1=$CatsLogic->getPostsByCat(41, 5 ,0 ,false);  //获取图片新闻分类的文章
    //$id_1_hot = $id_1_1[0];  //获取图片新闻的第一篇最新的文章
    $id_1_2=$CatsLogic->getPostsByCat(12, 8 ,0 ,false);  //获取工作动态分类的文章
    $id_1_3=$CatsLogic->getPostsByCat(17, 8 ,0 ,false);  //获取武装动态分类的文章
    $id_1_4=$CatsLogic->getPostsByCat(23, 8 ,0 ,false);  //获取校卫队分类的文章
    $id_1_5=$CatsLogic->getPostsByCat(26, 8 ,0 ,false);  //获取服务指南分类的文章
    $id_1_6=$CatsLogic->getPostsByCat(33, 8 ,0 ,false);  //获取安全常识工作分类的文章
    $id_1_7=$CatsLogic->getPostsByCat(37, 8 ,0 ,false);  //获取下载专区工作分类的文章
    $id_1_8=$CatsLogic->getPostsByCat(44, 1 ,0 ,false);  //获取全部公告分类的文章
    $id_8_1 = $id_1_8[0]; //获取全部公告的第一篇最新的文章
    $id_1_9=$CatsLogic->getPostsByCat(43, 3 ,0 ,false);  //获取失物招领工作分类的文章
    $id_9_1 = $CatsLogic->getChild(43);  //获取失物招领父级分类的子分类
    //获取某一分类的详细信息
    $id_title_1 = $CatsLogic->detail(41);
    $id_title_2 = $CatsLogic->detail(12);
    $id_title_3 = $CatsLogic->detail(17);
    $id_title_4 = $CatsLogic->detail(23);
    $id_title_5 = $CatsLogic->detail(26);
    $id_title_6 = $CatsLogic->detail(33);
    $id_title_7 = $CatsLogic->detail(37);
    $id_title_8 = $CatsLogic->detail(44);
    $id_title_9 = $CatsLogic->detail(43);


</php>
<body>
<div id="banner">
    <div class="grid">
        <div class="bannerLeft">
            <!-----------------fgfg------------------------->
            <div id="myBanner" class="carousel slide" data-ride="carousel" data-interval="3000">
                <!-- Indicators -->
                <ol class="carousel-indicators">
                    <li data-target="#myBanner" data-slide-to="0" class="active"></li>
                    <li data-target="#myBanner" data-slide-to="1"></li>
                    <li data-target="#myBanner" data-slide-to="2"></li>
                    <li data-target="#myBanner" data-slide-to="3"></li>
                    <li data-target="#myBanner" data-slide-to="4"></li>
                </ol>

                <!-- Wrapper for slides-->
                <div class="carousel-inner" role="listbox">
                    <volist name="id_1_1" id="crousel" key="k">
                        <if condition="$k == 1">
                            <div class="item active">
                                {$crousel|get_post_thumbnail}
                                <div class="carousel-caption">
                                    <h3><a class="morePicContent" href="{$crousel|get_post_url}&cat={$id_title_1['cat_id']}">{$crousel['post_title']}</a></h3>
                                </div>
                            </div>

                            <else/>
                            <div class="item">
                                {$crousel|get_post_thumbnail}
                                <div class="carousel-caption">
                                    <h3><a class="morePicContent" href="{$crousel|get_post_url}&cat={$id_title_1['cat_id']}">{$crousel['post_title']}</a></h3>
                                </div>
                            </div>
                        </if>
                    </volist>
                </div>

                <!-- Controls -->
                <!--<a class="left carousel-control" href="#myBanner" role="button" data-slide="prev">-->
                <!--<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>-->
                <!--<span class="sr-only">Previous</span>-->
                <!--</a>-->
                <!--<a class="right carousel-control" href="#myBanner" role="button" data-slide="next">-->
                <!--<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>-->
                <!--<span class="sr-only">Next</span>-->
                <!--</a>-->
            </div>
            <!--------------------------------------------------------------------->
            <!--<img src="__PUBLIC__/bwc/img/22.jpg"/>-->
        </div>
        <div class="bannerRight">
            <h2><a href="{$id_title_1['cat_id']|get_cat_url}">{$id_title_1['cat_name']}</a><span class="glyphicon glyphicon-chevron-right"></span></h2>
            <div class="passage">
                <p class="title">热门快讯</p>
                <ul class="summary">
                    <volist name="id_1_1" id="hot_title">
                        <li><a href="{$hot_title|get_post_url}&cat={$id_title_1['cat_id']}"><em class="glyphicon glyphicon-fire"></em><p>{$hot_title['post_title']}</p></a><span class="publishDate">{$hot_title.post_date|strtotime=###|date="m-d",###}</span></li>
                    </volist>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="clearfix"></div>
<div class="content">
    <div class="grid">
        <div class="sideA">
            <div class="announcement">
                <p class="anTitle">公告通知</p>
                <div class="announcementContent">
                    <span class="anConTitle">{$id_8_1['post_title']}</span><br />
                    {$id_8_1.post_content}
                </div>
                <p class="anBottom"><a href="{$id_title_8['cat_id']|get_cat_url}">以前公告</a></p>
            </div>
            <div class="findLost">
                <p class="sideATitle"><a href="{$id_title_9['cat_id']|get_cat_url}"><span class="glyphicon glyphicon-bullhorn"></span>{$id_title_9['cat_name']}</a></p>
                <ul>
                    <li class="callOwner"><a href="http://card.gdufe.edu.cn">一卡通</a><span class="glyphicon glyphicon-chevron-right"></span></li>
                    <volist name="id_9_1" id="lost">
                        <li class="callOwner"><a href="{$lost['cat_id']|get_cat_url}">{$lost['cat_name']}</a><span class="glyphicon glyphicon-chevron-right"></span></li>
                    </volist>
                </ul>
            </div>
            <div class="usefulNumbers">
                <p class="sideATitle"><span class="glyphicon glyphicon-phone-alt"></span>常用电话</p>
                <ul>
                    <li>
                        <p class="callOwner">24小时报警校园电话<span class="glyphicon glyphicon-chevron-right"></span></p>
                        <p>84096060</p>
                    </li>
                    <li>
                        <p class="callOwner">综合科<span class="glyphicon glyphicon-chevron-right"></span></p>
                        <p>020-84096789</p>
                    </li>
                    <li>
                        <p class="callOwner">军事科<span class="glyphicon glyphicon-chevron-right"></span></p>
                        <p>020-84096507</p>
                    </li>
                    <li>
                        <p class="callOwner">治安科<span class="glyphicon glyphicon-chevron-right"></span></p>
                        <p>020-84096070</p>
                    </li>
                    <li>
                        <p class="callOwner">户籍室<span class="glyphicon glyphicon-chevron-right"></span></p>
                        <p>020-84096869</p>
                    </li>
                </ul>
            </div>

        </div>


        <div class="cellContent">
            <p class="columnTitle"><span class="titleMark"></span><a href="{$id_title_2['cat_id']|get_cat_url}">{$id_title_2['cat_name']}</a><a href="{$id_title_2['cat_id']|get_cat_url}" class="more">更多<span class="glyphicon glyphicon-menu-right -span"></span><span class="glyphicon glyphicon-menu-right"></span></a></p>
            <ul class="contentList">
                <volist name="id_1_2" id="work_state">
                    <li><a href="{$work_state|get_post_url}&cat={$id_title_2['cat_id']}">{$work_state.post_title}</a><span>{$work_state.post_date|strtotime=###|date="Y-m-d",###}</span></li>
                </volist>
            </ul>
        </div>

        <div class="cellContent mt30 positionR">
            <p class="columnTitle"><span class="titleMark"></span><a href="{$id_title_3['cat_id']|get_cat_url}">{$id_title_3['cat_name']}</a><a href="{$id_title_3['cat_id']|get_cat_url}" class="more">更多<span class="glyphicon glyphicon-menu-right -span"></span><span class="glyphicon glyphicon-menu-right"></span></a></p>
            <ul class="contentList">
                <volist name="id_1_3" id="wu_state">
                    <li><a href="{$wu_state|get_post_url}&cat={$id_title_3['cat_id']}">{$wu_state.post_title}</a><span>{$wu_state.post_date|strtotime=###|date="Y-m-d",###}</span></li>
                </volist>
            </ul>
            <p class="slogan"><span class="glyphicon glyphicon-bookmark"><em>竭诚为师生员工服务</em></span></p>
        </div>

    </div>
</div>
<div class="clearfix"></div>
<div class="bottom">
    <div class="grid">
        <div class="doubleSideCell">
            <p class="columnTitle"><span class="titleMark"></span><a href="{$id_title_4['cat_id']|get_cat_url}">{$id_title_4['cat_name']}</a><a href="{$id_title_4['cat_id']|get_cat_url}" class="more">更多<span class="glyphicon glyphicon-menu-right -span"></span><span class="glyphicon glyphicon-menu-right"></span></a></p>
            <ul class="contentList">
                <volist name="id_1_4" id="wei_state">
                    <li><a href="{$wei_state|get_post_url}&cat={$id_title_4['cat_id']}">{$wei_state.post_title}</a><span>{$wei_state.post_date|strtotime=###|date="Y-m-d",###}</span></li>
                </volist>
            </ul>
        </div>
        <div class="doubleSideCell mr0">
            <p class="columnTitle"><span class="normalMark"></span><a href="{$id_title_5['cat_id']|get_cat_url}}">{$id_title_5['cat_name']}</a><a href="{$id_title_5['cat_id']|get_cat_url}" class="more">更多<span class="glyphicon glyphicon-menu-right -span"></span><span class="glyphicon glyphicon-menu-right"></span></a></p>
            <ul class="contentList">
                <volist name="id_1_5" id="fuwu_state">
                    <li><a href="{$fuwu_state|get_post_url}&cat={$id_title_5['cat_id']}">{$fuwu_state.post_title}</a><span>{$fuwu_state.post_date|strtotime=###|date="Y-m-d",###}</span></li>
                </volist>
            </ul>
        </div>
        <div class="doubleSideCell">
            <p class="columnTitle"><span class="normalMark"></span><a href="{$id_title_6['cat_id']|get_cat_url}">{$id_title_6['cat_name']}</a><a href="{$id_title_6['cat_id']|get_cat_url}" class="more">更多<span class="glyphicon glyphicon-menu-right -span"></span><span class="glyphicon glyphicon-menu-right"></span></a></p>
            <ul class="contentList">
                <volist name="id_1_6" id="safe_state">
                    <li><a href="{$safe_state|get_post_url}&cat={$id_title_6['cat_id']}">{$safe_state.post_title}</a><span>{$safe_state.post_date|strtotime=###|date="Y-m-d",###}</span></li>
                </volist>
            </ul>
        </div>
        <div class="doubleSideCell mr0 mb">
            <p class="columnTitle"><span class="normalMark"></span><a href="{$id_title_7['cat_id']|get_cat_url}">{$id_title_7['cat_name']}</a><a href="{$id_title_7['cat_id']|get_cat_url}" class="more">更多<span class="glyphicon glyphicon-menu-right -span"></span><span class="glyphicon glyphicon-menu-right"></span></a></p>
            <ul class="contentList">
                <volist name="id_1_7" id="downstate_state">
                    <li><a href="{$downstate_state|get_post_url}&cat={$id_title_7['cat_id']}">{$downstate_state.post_title}</a><span>{$downstate_state.post_date|strtotime=###|date="Y-m-d",###}</span></li>
                </volist>
            </ul>
        </div>
    </div>
</div>
<div class="end"></div>
<div class="clearfix"></div>
</body>



<include file="Public:bottom"/>

<include file="Public:footer"/>

<include file="Public:foot"/>
{:hook('pageFooter', "")}

</body>
</html>